<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<fmt:setBundle basename="com.ssi.mrms.language.room.room_label" />

<div id="container">
	<div id="content">
		<div class="warpper">
			<form action="RM006Aadd" method="post" name="main">
				<input type="hidden" name="rlrmidKey" value="${  rlrmidKey }"/>
				<input type="hidden" name="actwid" value="${  actwid }"/>
				<input type="hidden" name="mode" value="${  mode }"/>
			<table class="from" style="width: 100%;">
				<tr>
					<td class="header2" style="border-bottom: 1px #bbb solid;">Criteria</td>
				</tr>
			</table>
			<table class="from" style="width: 100%;" >
				<tr >
					<td  class="header">Tower </td>
					<td>
						<s:select name="tower" list="comboTower"
							listKey="key" listValue="value" headerKey="0"
							headerValue="----- ALL -----" />
					</td>
					<td class="header">Floor </td>
					<td>
							<s:select name="floor" list="comboFloor"
							listKey="key" listValue="value" headerKey="0"
							headerValue="----- ALL -----" />
					</td>
					<td  class="header">Unit </td>
					<td>
							<s:select name="unit" list="comboUnit"
							listKey="key" listValue="value" headerKey="0"
							headerValue="----- ALL -----" />
					</td>
					<td class="header">Addr </td>
					<td>
							<s:select name="addr" list="comboAddress"
							listKey="key" listValue="value" headerKey="0"
							headerValue="----- ALL -----" />
					</td>
				</tr>
			</table>
			
			
<!-- 		end	Criteria -->
			<table class="from" style="width: 100%;">
				<tr>
					<td class="header2" style="border-bottom: 1px #bbb solid;">Detail</td>
				</tr>
			</table>
<!-- 	detail			 -->
			<table border="0">
				<tr>
					<td  class="header">Card NO. </td>
					<td><input id="cardNo" name="cardNo" type="text" style="width: 300px;"  value="${  cardNo }"></td>
					<td class="header">Status </td>
					<td><input id="status" name="status" type="text" style="width: 300px;"  value="${  status }"></td>
				</tr>
				<tr>
					<td  class="header">User NO. </td>
					<td><input id="userNo" name="userNo" type="text" style="width: 300px;"  value="${  userNo }"></td>
					<td class="header">Create Date </td>
					<td><input id="createDate" name="createDate" type="text" style="width: 300px;"  value="${  createDate }"></td>
				</tr>
				<tr>
					<td  class="header">Last UpdateDate</td>
					<td><input id="lastDate" name="lastDate" type="text" style="width: 300px;"  value="${  lastDate }"></td>
					<td colspan="2"></td>
				</tr>
			</table>	
<!-- 			Button -->
			<table>
				<tr>
					<td align="left">
						<button type="button" class="btn btn-default btn-primary" onclick="location = 'RM006'"><i class="fa fa-hand-o-left"></i> Back</button>
					</td>
					<td align="right">
						<button type="submit" class="btn btn-default btn-primary"><i class="fa fa-save"></i> Save</button>
					</td>
				</tr>	
			</table>
	</form>		
		</div>
	</div>
</div>
<script>
$(document).ready(function() {
    
    _COMMON.renderDatePicker('createDate');
    _COMMON.renderDatePicker('lastDate');
    
});
</script>
